package com.mi.entity;

import java.io.Serializable;
import java.util.List;

public class MyPages<T> implements Serializable {

    //当前页面
    private int pageNum;

    //页面大小
    private int pageSize;

    //页面总数
    private int pages;

    //总条数
    private int pageCount;

    //携带的参数列表
    private List<T> list;



    public int getPageNum() {
        return pageNum;
    }

    public void setPageNum(int pageNum) {
        this.pageNum = pageNum;
    }

    public int getPageSize() {
        return pageSize;
    }

    public void setPageSize(int pageSize) {
        this.pageSize = pageSize;
    }

    public int getPages() {
        return pages;
    }

    public void setPages(int pages) {
        this.pages = pages;
    }

    public int getPageCount() {
        return pageCount;
    }

    public void setPageCount(int pageCount) {
        this.pageCount = pageCount;
    }

    public List<T> getList() {
        return list;
    }

    public void setList(List<T> list) {
        this.list = list;
    }
}
